package person.bing.fbcloud.repository;

import javafx.geometry.Pos;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import person.bing.fbcloud.api.entity.Post;
import person.bing.fbcloud.api.entity.PostComment;

import java.util.List;

/**
 * @author: mengfanbing
 * @date: 2020/12/25 16:47
 */
public interface PostRepository extends ElasticsearchRepository<Post,String>{
    List<Post> findByTitle(String title);
}
